﻿using UnityEngine;
using System.Collections;

public class MainMenu : MonoBehaviour {

	GameManager _gameManager;

	// Use this for initialization
	void Start () {
		_gameManager = GameObject.FindGameObjectWithTag ("GameManager").GetComponent<GameManager>();
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	void OnGUI() {
		if (GUI.Button (new Rect (150, 75, 200, 200), "Start")) {
			_gameManager.LoadNextRoom();
		}
	}
}
